import request from '@/utils/request'

// 查询会员提现记录
export function listCustomerWithdrawRecord(query) {
  return request({
    url: '/customer/v1/customer/withdraw/record/page_v2',
    method: 'post',
    data: query
  })
}


export function transferCustomerWithdrawRecord(data) {
  return request({
    url: '/customer/v1/customer/withdraw/record/transfer?google_code=' + data.google_code,
    method: 'post',
    data: data
  })
}

export function transfer2CustomerWithdrawRecord(data) {
  return request({
    url: '/customer/v1/customer/withdraw/record/transfer2',
    method: 'post',
    data: data
  })
}


export function failCustomerWithdrawRecord(data) {
  return request({
    url: '/customer/v1/customer/withdraw/record/fail?google_code=' + data.google_code,
    method: 'post',
    data: data
  })
}


export function countChecking() {
  return request({
    url: '/customer/v1/customer/withdraw/record/count_checking',
    method: 'get',
  })
}


export function confirmCountChecking() {
  return request({
    url: '/customer/v1/customer/withdraw/record/confirm_checking',
    method: 'post'
  })
}
